#include <iostream>
#include <cstdio>
using namespace std;
int main()
{
    int len;
    cin >> len;
    if(len <= 3)
    {
        cout << 0;
        return 0;
    }
    
}